export default [
    {
        path: 'user',
        name: 'user',
        component: () => import('@/views/user/index.vue'),
        meta: {
            title: '用户管理'
        },
        children: [
            {
                path: 'user',
                name: 'user',
                component: () => import('@/views/user/user/index.vue'),
                meta: {
                    title: '用户管理'
                }
            },
            {
                path: 'setPwd',
                name: 'setPwd',
                component: () => import('@/views/user/password/index.vue'),
                meta: {
                    title: '修改密码'
                }
            },
            {
                path: 'role',
                name: 'role',
                component: () => import('@/views/user/role/index.vue'),
                meta: {
                    title: '角色管理'
                }
            },
            {
                path: 'mine',
                name: 'mine',
                component: () => import('@/views/user/my/index.vue'),
                meta: {
                    title: '个人中心'
                }
            }
        ]
    }

]
